package com.wdl.modules.myhouse.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wdl.modules.myhouse.entity.sys.SysMenuEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 菜单表
 *
 * @author lucain sunlightcs@gmail.com
 * @since 1.0.0 2022-09-11
 */
@Mapper
public interface SysMenuDao extends BaseMapper<SysMenuEntity> {

    List<SysMenuEntity> getMenusByRoleIds(@Param("roleIds") List<Integer> roleIds);
}